package com.itheima.test2;

public class Test {
    public static void main(String[] args) {
        Zi z = new Zi();
        z.smoke();
    }
}

class Zi extends Fu {
    //当子类不满足父类的方法实现时,子类可以对父类的方法进行重写

}

class Fu {
    public void smoke() {
        System.out.println("抽大前门...");
    }
}
